package cn.wolfcode.chatroom.core.domain;

public class ChatroomMessage {

    public static final int NORMAL = 0;
    public static final int SYSTEM = 1;

    /*
     * 0 = 普通消息（用户发的消息）
     * 1 = 系统通知
     * */
    private int type = SYSTEM;
    private String sender = "0";
    private String content;
    private int onlineNum;

    public int getOnlineNum() {
        return onlineNum;
    }

    public void setOnlineNum(int onlineNum) {
        this.onlineNum = onlineNum;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
